package com.siwei.mes.entity.experiment;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;


/**
 * 快检/批检对应按时间生成的配置信息(PkExperimentCheckWaybillWeek)实体类
 *
 * @author linzi
 * @since 2025-03-09 22:58:41
 */
@Data
@Accessors(chain = true)
@Table(name = "pk_experiment_check_waybill_week")
@ApiModel(value = "experimentCheckWaybillWeek", description = "快检/批检对应按时间生成的配置信息")
public class ExperimentCheckWaybillWeek implements Serializable {
    private static final long serialVersionUID = -71829230126474444L;
    /**
     * 主键id
     */
    @Id
    @ApiModelProperty(value = "快检/批检对应按时间生成的配置信息主键ID", name = "id")
    private Long id;

    @Column(name = "experiment_type")
    @ApiModelProperty(value = "试验台账类型 1-水泥 2-粉煤灰 3-矿渣粉 4-粗骨料 5-细骨料 6-外加剂 ", name = "experimentType")
    private Integer experimentType;

    /**
     * 规则类型 1-快检 2-批检
     */
    @Column(name = "check_type")
    @ApiModelProperty(value = "规则类型 1-快检 2-批检", name = "checkType")
    private Integer checkType;


    @Column(name = "project_name")
    @ApiModelProperty(value = "原材料名称")
    private String projectName;

    @Column(name = "project_spec")
    @ApiModelProperty(value = "原材料规格")
    private String projectSpec;

    @Column(name = "supply_company_company")
    @ApiModelProperty(value = "供货商")
    private String supplyCompanyCompany;

    @Column(name = "factory")
    @ApiModelProperty(value = "生产厂家")
    private String factory;

    /**
     * 第一个委托  配置阈值之前的  1-开始
     */
    @Column(name = "first_experiment_id")
    @ApiModelProperty(value = "第一个委托  配置阈值之前的  1-开始", name = "firstExperimentId")
    private Long firstExperimentId;
    /**
     * 第二个委托  配置的阈值之后  包含阈值
     */
    @Column(name = "second_experiment_id")
    @ApiModelProperty(value = "第二个委托  配置的阈值之后  包含阈值", name = "secondExperimentId")
    private Long secondExperimentId;
    /**
     * 对应周几
     */
    @Column(name = "week_number")
    @ApiModelProperty(value = "对应周几", name = "weekNumber")
    private Integer weekNumber;
}
